package jdk.thread.collection;

import java.util.Collections;
import java.util.concurrent.LinkedBlockingQueue;

public class LinkedBlockingQueueTest {

    public static void main(String[] args) throws InterruptedException {

        LinkedBlockingQueue<Integer> queue = new LinkedBlockingQueue(1);
        queue.poll();
        queue.take();
        queue.put(1);

    }
}
